package com.google.jessewilson.codesearch.googlecodesearch;

import com.google.jessewilson.codesearch.api.Page;

/**
 * @author jessewilson
 */
class EndOfResultsException extends RuntimeException {
  public EndOfResultsException(Page desired, int actualStart) {
    super(String.format("Expected page starting at %s, but results started at %s",
        desired.getStart(), actualStart));
  }
}
